import sqlite3

import pytest

from flaskr.models import db


def test_init_db_command(runner, monkeypatch):
    result = runner.invoke(args=["init-db"])
    assert "Initialized" in result.output
